Show All

ColorIndex Property

       

ColorIndex property as it applies to the Border object. 

ColorIndex property as it applies to the Borders object. 

ColorIndex property as it applies to the Font object. 

ColorIndex property as it applies to the Interior object. 

Remarks

This property specifies a color as an index into the workbook color palette. You can use the Colors method to return the current color palette.

The following illustration shows the color-index values in the default color palette.

Color index values in default color palette

Example

As it applies to the Font object.